package com.qyhl.webtv.module_user.common;


import com.qyhl.webtv.commonlib.common.CommonUtils;

/**
 * 用户中心Url
 *
 * @author helin
 * @date 2019年4月3日11:29:46
 */
public class UserUrl {

    public static String BASE_APPCONIF_URL;
    public static final String BASE_SCORE_URL;

    static {
        BASE_APPCONIF_URL = CommonUtils.getInstance().getBaseUrl();
        BASE_SCORE_URL = CommonUtils.getInstance().getScoreUrl();
    }


    /**
     * 商品下单
     */
    public static final String GET_SHOP_ORDER_LIST = BASE_SCORE_URL + "order/list";

    /**
     * 商品订单详情
     */
    public static final String GET_SHOP_ORDER_Detail = BASE_SCORE_URL + "order/detail";



    public final static String GET_UNREAD_MSG_NUM = BASE_APPCONIF_URL + "message/unread";

    /**
     * 邀请码提交
     */
    public final static String GET_USER_INVITECODE = BASE_APPCONIF_URL + "user/submitInviteCode";

    /**
     * 邀请码提交
     */
    public final static String GET_USER_INVITECODELIST = BASE_APPCONIF_URL + "user/invitedUserList";

    /**
     * 根据openid查询用户信息
     */
    public final static String WX_GETUSER = BASE_APPCONIF_URL + "user/weChatInfo";

    /**
     * 微信登录绑定手机号
     */
    public final static String WXBINDING = BASE_APPCONIF_URL + "user/wechatAuthorize";

    /**
     * 获取用户信息
     */
    public final static String GET_USER_INFO = BASE_APPCONIF_URL + "user/getUserInfo";

    /**
     * 获取用户信息
     */
    public final static String GET_USER_INFO_NEW = BASE_APPCONIF_URL + "user/getUserInfoC";

    /**
     * 用户账号密码登陆
     */
    public final static String NORMAL_USER_LOGIN = BASE_APPCONIF_URL + "user/newLogin";
    /**
     * 注册时获取验证码
     */
    public final static String GET_USER_GETCODE = BASE_APPCONIF_URL + "user/newGetCaptcha";
    /**
     * 注销用户
     */
    public final static String POST_USER_CANCEL_ACCOUNT = BASE_APPCONIF_URL + "user/user/destroyUser";
    /**
     * 判断验证码登录用户是否第一次登陆
     */
    public final static String GET_USER_CODEFIRST = BASE_APPCONIF_URL + "user/userExist";
    /**
     * 验证码登录
     */
    public final static String CODE_USER_LOGIN = BASE_APPCONIF_URL + "user/newCaptchaLogin";
    /**
     * 注册
     */
    public final static String GET_USER_REGISTER = BASE_APPCONIF_URL + "user/newMobileRegister";

    /**
     * 修改密码
     */
    public final static String GET_MODIFY_PWD = BASE_APPCONIF_URL + "user/newChangePassword";

    /**
     * 验证token
     */
    public final static String GET_COMPARE_TOKEN = BASE_APPCONIF_URL + "user/decodeUserInfo";

    /**
     * 头像修改
     */
    public final static String GET_HEAD_ICON = BASE_APPCONIF_URL + "user/uploadHead";

    /**
     * 个人信息修改
     */
    public final static String GET_CHANGE_INFO = BASE_APPCONIF_URL + "user/editUserInfo";

}

